package com.tyk.bookstore.back.platform.model.query;

import com.tyk.bookstore.back.common.core.model.page.PageQuery;
import com.tyk.bookstore.back.platform.model.enume.CarouselState;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author tyk
 * @description 轮播图
 */
@Data
public class CarouselPageQuery extends PageQuery {

    @Schema(description = "关键字")
    private String keyword;

    @Schema(description = "状态")
    private CarouselState state;

    @Schema(description = "优先级：起始")
    private Integer priorityFrom;

    @Schema(description = "优先级：终止")
    private Integer priorityTo;

    @Schema(description = "创建时间：起始")
    private LocalDateTime startTime;

    @Schema(description = "创建时间：终止")
    private LocalDateTime endTime;

}
